local assets =
{
}
local function OnEatenFn(inst, eater)
	print("oneat")
end
local function muu_starsoul()
	local inst = CreateEntity()
	inst.entity:AddTransform()
	inst.entity:AddAnimState()
	inst.entity:AddNetwork()
	inst.entity:AddSoundEmitter()

	MakeInventoryPhysics(inst)
	inst.AnimState:SetBank("rope")
	inst.AnimState:SetBuild("rope")
	inst.AnimState:PlayAnimation("idle")

	MakeInventoryFloatable(inst, "med", nil, 0.6)

	inst.foleysound = "dontstarve/movement/foley/jewlery"
	inst.entity:SetPristine()
	if not TheWorld.ismastersim then
		return inst
	end
	inst:AddComponent("inspectable")

	MakeHauntable(inst)

	inst:AddComponent("inventoryitem")

	inst:AddComponent("edible")
	inst.components.edible.hungervalue = 1
	inst.components.edible.healthvalue = 1
	inst.components.edible.sanityvalue = 1
	inst.components.edible.foodtype = FOODTYPE.GOODIES
	inst.components.edible:SetOnEatenFn(OnEatenFn)

	inst:AddComponent("stackable")
	inst.components.stackable.maxsize = TUNING.STACK_SIZE_SMALLITEM
	return inst
end
return Prefab("muu_starsoul", muu_starsoul, assets)
